/*
 * Post.java
 *
 * Created on 2007年10月7日, 上午11:34
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package cn.geckos.forum.domainobject;

import java.util.Date;

/**
 *
 * @author jeff
 */
public class Post {
    
    private long id;
    private String name;
    private long authorId;
    private String description;
    private String content;
    private Date postDate;
    private Date lastModifyDate;
    private int viewNum;
    private int visible;
    private int enabled;
    private long parentId;
    private int type;
    private int level;
    private long lastReplierId;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getAuthorId() {
        return authorId;
    }

    public void setAuthorId(long authorId) {
        this.authorId = authorId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPostDate() {
        return postDate;
    }

    public void setPostDate(Date postDate) {
        this.postDate = postDate;
    }

    public Date getLastModifyDate() {
        return lastModifyDate;
    }

    public void setLastModifyDate(Date lastModifyDate) {
        this.lastModifyDate = lastModifyDate;
    }

    public int getViewNum() {
        return viewNum;
    }

    public void setViewNum(int viewNum) {
        this.viewNum = viewNum;
    }

    public int getVisible() {
        return visible;
    }

    public void setVisible(int visible) {
        this.visible = visible;
    }

    public int getEnabled() {
        return enabled;
    }

    public void setEnabled(int enabled) {
        this.enabled = enabled;
    }

    public long getParentId() {
        return parentId;
    }

    public void setParentId(long parentId) {
        this.parentId = parentId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public long getLastReplierId() {
        return lastReplierId;
    }

    public void setLastReplierId(long lastReplierId) {
        this.lastReplierId = lastReplierId;
    }
    
}
